#!/bin/bash


date=`date --date='1 days' +%m-%d`

mkdir /skynet/log/$date

chown www:www /skynet/log/$date

date=`date --date='2 days ago' +%m-%d`
rm -rf /skynet/log/$date

